package com.zztest.aitestmini.dto.user;

import com.zztest.aitestmini.entity.BaseEntityNew;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Author: zhangcheng
 * @Description: 用户更新实体类
 * @Date: 2021/3/27/027 22:09
 * @Version: 1.0
 */
@ApiModel(value = "用户信息修改类", description = "请求类")
@Data
public class UpdateUserDto extends BaseEntityNew {

    /**
     * 用户id
     */
    @ApiModelProperty(value="用户id", example="12",required=true)
    private Integer id;

    /**
     * 用户名
     */
    @ApiModelProperty(value="用户名", example="hogwarts",required=true)
    private String userName;

    /**
     * 密码
     */
    @ApiModelProperty(value="密码", example="hogwarts",required=true)
    private String password;

    /**
     * 邮箱
     */
    @ApiModelProperty(value="邮箱", example="hogwarts",required=true)
    private String email;
}
